package work.wiwf.web.model.sys.service;

import work.wiwf.web.model.sys.bean.vo.SysUserVo;

/**
 * @author kehui
 */
public interface SysTokenService {
	
	String createToken();

	Boolean addTokenUser(String key, SysUserVo val, int timeSeconds);

	Boolean updateTokenUser(String key, SysUserVo val, int timeSeconds);

	SysUserVo getTokenUser(String key);

	Boolean delTokenUser(String key);

	Boolean updateTokenUserExpire(String key, int timeSeconds);

	String getToken();
	
}
